const API_HOST = "https://zsapi.bocang.cc/v2/";

module.exports = {
  SCENE_HOST: "https://zs.bocang.cc/", //图片主链接
  PhoneCall: "4000131668",
  API_HOST: API_HOST,
  HomeBannerUrl: API_HOST + "ecapi.phone.banner.list",
  HomeCategory: API_HOST + "ecapi.category.list",
  HomeArticle: API_HOST + "ecapi.article.list", //消息中心
  HomeNewProduct: API_HOST + "ecapi.product.list", 
  HomeSpecailProduct: API_HOST + "ecapi.product.list",
  HomeTeMaiProduct: API_HOST + "ecapi.product.list",
  HomeLikeProduct: API_HOST + "ecapi.product.list",
  Product: API_HOST + "ecapi.product.list",
  ClassifyCategory: API_HOST + "ecapi.category.list",
  ProgrammerFanganAll: API_HOST + "ecapi.fangan.all.list",
  ProgrammerFangan: API_HOST + "ecapi.fangan.list",
  PrivateFanan: API_HOST + "ecapi.fangan.private",
  DeleteFanan: API_HOST + "ecapi.fangan.delete",
  CartGet: API_HOST + "ecapi.cart.get",
  CartDelete: API_HOST + "ecapi.cart.delete",
  CartUpdate: API_HOST + "ecapi.cart.update",
  AddCart: API_HOST + "ecapi.cart.add",
  AddressAdd: API_HOST + "ecapi.consignee.add",
  AddressGet: API_HOST + "ecapi.consignee.list",
  AddressUpdate: API_HOST + "ecapi.consignee.update",
  AddressDelete: API_HOST + "ecapi.consignee.delete",
  AddressSetDefault: API_HOST + "ecapi.consignee.setDefault",
  LogisticsCompany: API_HOST + "ecapi.logistics.list", //物流公司
  MineGetUserProfile: API_HOST + "ecapi.user.profile.get", //返回用户信息
  LoginSigin: API_HOST + "ecapi.auth.signin",
  ProdetailGet: API_HOST + "ecapi.product.get",
  CheckOutCart: API_HOST + "ecapi.cart.checkout",
  PaymentOrder: API_HOST + "ecapi.payment.pay", //余额支付
  OpenidGet: API_HOST + 'ecapi.openid.get', // 获取openid
  WeixinOpen: API_HOST + 'ecapi.weixin.open', // 自动注册登录
  PayPrepayId: API_HOST + 'ecapi.payment.pay', //获取微信统一下单prepay_id
  GoodsList: API_HOST + 'ecapi.product.list', // 产品列表
  GoodsCategory: API_HOST + 'ecapi.category.list',  //获得分类数据
  UploadAvatar: API_HOST + "ecapi.user.avatar.upload", //上传头像
  LikedProduct: API_HOST + "ecapi.product.liked.list", //收藏列表
  OrderList: API_HOST + "ecapi.order.list", //订单列表
  OrderCancel: API_HOST + "ecapi.order.cancel", //取消订单
  OrderDetail: API_HOST + "ecapi.order.search", //获取订单详情
  
};